package com.example.financecollegeorderdish.ui.dialog

import android.content.Context
import com.example.financecollegeorderdish.R
import com.example.financecollegeorderdish.databinding.DialogAboutBinding
import com.lxj.xpopup.core.CenterPopupView

/**
 * 旋转靶机
 */
class AboutDialog(context: Context) : CenterPopupView(context) {
    val mBinding: DialogAboutBinding by lazy { DialogAboutBinding.bind(contentView) }

    /**
     * 具体实现的类的布局
     *
     * @return
     */
    override fun getImplLayoutId(): Int = R.layout.dialog_about

    /**
     * do init.
     */
    override fun onCreate() {
        super.onCreate()
        mBinding.finish.setOnClickListener { dismiss() }
    }

}